package com.boilerCloud.service.sys.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.boilerCloud.dao.sys.impl.ProtocolDao;
import com.boilerCloud.dto.HzlqswPage;
import com.boilerCloud.dto.sys.Dictionary;
import com.boilerCloud.dto.sys.ProtocolInfo;
import com.boilerCloud.service.sys.IProtocolService;
@Service
public class ProtocolServiceImpl  implements IProtocolService{

	@Resource
	private ProtocolDao dao;
	@Override
	public void qryList(ProtocolInfo model, HzlqswPage<ProtocolInfo> page)  throws Exception{
		dao.qryList(model,page);
		
	}

	@Override
	public void save(ProtocolInfo model) throws Exception {
		dao.save(model);
		
	}

	@Override
	public void edit(ProtocolInfo model) throws Exception{
		dao.edit(model);
		
	}

	@Override
	public void del(int id)throws Exception {
		dao.del(id);
		
	}

	@Override
	public ProtocolInfo getProtocolInfo(int id) throws Exception {
		// TODO Auto-generated method stub
		return dao.getProtocolInfo(id);
	}

	

}
